package com.gc.repository;

import com.gc.entity.Teacher;
import com.gc.entity.TextBook;

import java.util.List;

public interface TextBookRepository {
    boolean Add(TextBook textBook);

    List<TextBook> FindAll();

    boolean DelById(Long id);

    TextBook FindById(Long id);

    TextBook FindByBookId(String id);

    boolean UpdateById(TextBook textBook);
}
